﻿using AutoMapper;
using B.W.traceability.Domain.养殖;
using B.W.traceability.Read.API.Application.APPlicationCommand;
using B.W.traceability.Read.API.DTO;

namespace B.W.traceability.Read.API
{
    public class Automapper : Profile
    {
        public Automapper()
        {
            CreateMap<TraceabilityCommand, TraceabilityNames>().ReverseMap();
            CreateMap<TraceabilityShowCommand, TraceabilityDTO>().ReverseMap();
        }
    }
}
